package com.vegetable.modules.entity.dashboard;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

/**
 * 缺货统计数据VO
 *
 * @author qoder
 * @since 2024-01-01
 */
@Data
@ApiModel(value = "ShortageStatisticsVO", description = "缺货统计数据")
public class ShortageStatisticsVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "总订单数")
    private Integer totalOrderCount;

    @ApiModelProperty(value = "缺货订单数")
    private Integer shortageOrderCount;

    @ApiModelProperty(value = "缺货率(%)")
    private BigDecimal shortageRate;

    @ApiModelProperty(value = "总计划数量")
    private Integer totalPlannedQuantity;

    @ApiModelProperty(value = "总实际数量")
    private Integer totalActualQuantity;

    @ApiModelProperty(value = "缺货数量")
    private Integer shortageQuantity;

    @ApiModelProperty(value = "缺货明细列表")
    private List<ShortageDetailVO> shortageDetails;

}